module ImageHelper
  class Error < RuntimeError;  end
  ##
  # This exception is thrown if the filetype which was uploaded is actually
  # no image
  class NoImage < Error; end
  ##
  # This exception is thrown if the image which was uploaded already exists
  class FileExists < Error; end
end
